package com.itump.base.util;

/** 
 *  
 * <p>Copyright: Copyright (c) 2011</p>
 
 */

public class ExecuteTime {
    private static long _executeTime = 0;//初始化执行时间

    /**
     * <p> 设置初始化执行时间
     * @param executeTime type of int
     * @return none
     * */
    public static void setInitTime(long executeTime) {
        _executeTime = executeTime;
    }

    /**
     * <p> constructor
     * */
    private ExecuteTime() {
    }

    /**
     * <p> 设置时间执行时间，以毫秒计算
     * @param executeTime type of int
     * */
    public static void setTime(long executeTime) {
        _executeTime += executeTime;
    }

    /**
     * <p> 返回执行的时间，以毫秒计算
     * @param none
     * @return Integer
     * */
    public static Long getTime() {
        Long et = Long.valueOf(_executeTime);
        return et;
    }
}
